{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/header.html"}
{literal}
<script type="text/javascript">
    $(function(){
        $('.assortment').hover(function(){
            $('.assort_list').stop().fadeIn();
        },function(){
            $('.assort_list').stop().fadeOut();
        });
    });
</script>
<script type="text/javascript" src="/js/user.js"></script>
<style>
    .assort_list{display: none;}
</style>
{/literal}

<div class="help_center">

    <div class="crumbs_tmg" style="padding-top:0;">当前位置：<a href="#">首页</a><i class="ffs">></i><a href="#">会员中心</a><i class="ffs">></i><span class="blue">我收到的报价</span></div>

    {include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/menu_title.html"}
    <div class="user_content">
        <h3 class="user_title j_ut">
            <ul>
                <li class="curr">我收到的报价</li>
            </ul>
        </h3>


        <div class="receiving_address">

            <div class="resource_search"><form name="" action="" method="get">品种：<input type="text" name="cate_name" class="rs_ph" value="{$cate_name}"/>牌号：<input type="text" name="product_name" class="rs_ph" value="{$product_name}"/>厂商：<input type="text" name="brand_name" class="rs_ph" value="{$brand_name}"/>交货地：<input type="text" name="delivery_area" class="rs_ph" value="{$delivery_area}"/><input class="rs_ph_btn" type="submit" value="搜  索"/></form></div>

            <ul class="rs_bar">
                <li class="curr">全部报价 <i>({$totalItems})</i></li>
            </ul>

            <ul class="rs_tmn">
                <li>订单信息</li>
                <li>单价（元/吨）</li>
                <li>数量（吨）</li>
                <li>配送方式</li>
                <li>状态</li>
                <li>操作</li>
            </ul>

            <div class="pro_list_items">
                <ul>
                    {if !$data}
                    <li class="tac" style="padding-top: 10px;">暂无报价哦，请耐心等待哦!</li>
                    {else}
                    {foreach from=$data key=key item=item}
                    <li>
                        <div class="pro_li_title">
                            <span class="pr20">供应商：{$item.business_name}<img src="/images/login_qq.png" width="16" height="16" class="vam ml5 cp" onclick="javascript:window.open('http://wpa.qq.com/msgrd?v=3&uin={$item.qq}&site=qq&menu=yes');" /></span>
                            <span class="fr pr20">{$item.create_time}</span>
                        </div>
                        <div class="pro_li_list">
                            <p>{$item.cate_name}-{$item.product_name}/{$item.brand_name}</p>
                            <p class="orange">{$item.currency_mark}{$item.price}</p>
                            <p>{$item.num}</p>
                            <p class="orange">{if $item.delivery_method eq '2'}配送{else}自提{/if}</p>
                            <p>待下单</p>
                            <p>
                                {if $item.status eq '2'}
                                <a href="/shopcart/business?id={$item.id}" class="blue">下单</a>
                                <a href="/user/setQuoteStatus?id={$item.id}" class="gray ml10">取消</a>
                                {else}
                                <a href="javascript:void(0)" class="gray ml10">已取消</a>
                                {/if}
                            </p>
                        </div>
                        <div class="pro_li_ft">
                            <span class="fwb">合计：<i class="orange mr10">{($item.num*$item.price)}</i></span>
                        </div>
                    </li>
                    {/foreach}
                    {/if}

                </ul>
            </div>
            <div class="page tar ptb10p" id="page">{$links}</div>
        </div>

    </div>
</div>



{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/footer.html"}